#ifndef _TTY_IO_HPP
#define _TTY_IO_HPP

#include <string>
#include <stdint.h>
#include <termios.h>
#include "interface.hpp"

void init_gsm();
int init_tty(const std::string port, speed_t baud_rate);
b_packet_t* send_request(const std::string port, b_packet_t* req, 
        struct timeval read_timeout);

#endif //_TTY_IO_HPP
